package com.mareas.web.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Service;

@Service
public interface GenericService {

	void persist(Object object);

	void remove(Object object);

	<T> T get(Class<T> entityClass, Serializable id);

	<T> List<T> getAll(Class<T> entityClass);

}
